package com.huashi.dealer.modular.business.address.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * API地址请求参数
 *
 * @author 谭陈强
 * @since 2025-07-30
 */
@Data
@Schema(description = "API地址请求参数")
public class AddressRequestParam {

    @Schema(description = "用户令牌")
    private String token;

    @Schema(description = "地址ID")
    private Long addressId;

    @Schema(description = "收货人姓名")
    private String name;

    @Schema(description = "收货人电话")
    private String phone;

    @Schema(description = "详细地址")
    private String detail;

    @Schema(description = "省市区")
    private String region;

    @Schema(description = "省份ID")
    private Long provinceId;

    @Schema(description = "城市ID")
    private Long cityId;

    @Schema(description = "区县ID")
    private Long districtId;

    @Schema(description = "省份名称")
    private String provinceName;

    @Schema(description = "城市名称")
    private String cityName;

    @Schema(description = "区县名称")
    private String districtName;

    @Schema(description = "是否默认地址：1是，0否")
    private Integer isDefault;

    @Schema(description = "地址标签")
    private String tag;

    @Schema(description = "邮政编码")
    private String postcode;

    @Schema(description = "经度")
    private String longitude;

    @Schema(description = "纬度")
    private String latitude;

    @Schema(description = "地址状态：10正常，20删除")
    private Integer addressStatus;

    @Schema(description = "创建时间")
    private String createTime;

    @Schema(description = "更新时间")
    private String updateTime;
} 